import http from '../axios'

export function getMallInfo(params){
    return http.request({
        url:'/mall/getMallInfo',
        method:'get',
        params:{params}
    })
}

export function addMallInfo(data){
    return http.request({
        url:'/mall/addMallInfo',
        method:'post',
        data:data
    })
}

export function deleteMallInfo(data){
    return http.request({
        url:'/mall/deleteMallInfo',
        method:'post',
        data:data
    })
}

export function changeMallRepertory(data){
    return http.request({
        url:'/mall/changeMallRepertory',
        method:'post',
        data:data
    })
}

export function showMallCircle(){
    return http.request({
        url:'/mall/showMallCircle',
        method:'get',
    })
}

export function getChartsData(){
    return http.request({
        url:'/mall/getChartsData',
        method:'get',
    })
}